package com.zzy.controller;

import com.zzy.aoptest.CustomLogAnnotation;
import com.zzy.model.AjaxMsg;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;
import java.util.Map;

//import org.activiti.engine.task.Task;


@RestController
@RequestMapping("/test/")

public class TestController2 {




    @RequestMapping("test")
    @CustomLogAnnotation("1231")
    public AjaxMsg test(){
        return AjaxMsg.returnAjaxMsg("测试啊！");
    }



}
